package
{
	import com.codeTooth.actionscript.display.GraphicsPen;
	
	import flash.display.Sprite;
	
	[SWF(width="1000", height="700", frameRate="30")]
	public class GraphicsPenTest extends Sprite
	{
		public function GraphicsPenTest()
		{
			//graphics.lineStyle(1, 0xFF0000);
			//graphics.beginFill(0x0099FF);
			//GraphicsPen.drawHexagon(graphics, 32, 0, 0, false);
			//graphics.endFill();
			
			//graphics.lineStyle(1, 0xFF0000);
			//graphics.beginFill(0x0099FF);
			//GraphicsPen.drawDiamond(graphics, 32, 0, 0, false);
			//graphics.endFill();
			
			//graphics.lineStyle(1, 0xFF0000);
			//graphics.beginFill(0x0099FF);
			//GraphicsPen.drawRectangle(graphics, 100, 50, 0, 0, false);
			//graphics.endFill();
			
//			graphics.lineStyle(4, 0xFF0000);
//			graphics.beginFill(0xFF0080);
//			GraphicsPen.drawCross(graphics, 40, 20, 5, 5, false);
//			graphics.endFill();
			
			graphics.lineStyle(1, 0xFF0000);
			GraphicsPen.drawGridLines(graphics, 20, 40, 20, 20);
		}
	}
}